<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2020/5/13
  Time: 13:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <%@ include file="/WEB-INF/pages/commons/head-meta.jsp" %>
    <%@ include file="/WEB-INF/pages/commons/js-meta.jsp" %>
    <c:if test="${empty  admin.account}">
        <title>您尚未登陆,请前往登陆页面</title>
    </c:if>
    <c:if test="${not empty admin.account}">
        <title>欢迎登录:${admin.account}</title>
    </c:if>
</head>
<body>

<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
    <!-- Indicators -->
    <ol class="carousel-indicators">
        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
        <li data-target="#carousel-example-generic" data-slide-to="2"></li>
    </ol>

    <!-- Wrapper for slides -->
    <div class="carousel-inner" role="listbox">
        <div class="item active">
            <a href="${ctx}/admin/findAll">
                <img style="width: 100%;height: 100%" src="${static_ctx}/images/index01.jpg" alt="管理员列表">
            </a>
            <div class="carousel-caption">
                <h3>管理员列表</h3>
            </div>
        </div>
        <div class="item">
            <a href="${ctx}/user/findAll">
                <img  style="width: 100%;height: 100%" src="${static_ctx}/images/index02.jpg" alt="用户列表">
            </a>
            <div class="carousel-caption">
                <h3>用户列表</h3>
            </div>
        </div>
        <div class="item">
            <a href="${ctx}/role/findAll">
                <img  style="width: 100%;height: 100%"  src="${static_ctx}/images/index03.jpg" alt="角色管理">
            </a>
            <div class="carousel-caption">
                <h3>角色管理</h3>
            </div>
        </div>
<%--        <div class="item">--%>
<%--            <a href="${ctx}/role/findAll">--%>
<%--                <img  style="width: 100%;height: 100%"  src="${static_ctx}/images/index04.jpg" alt="角色管理">--%>
<%--            </a>--%>
<%--            <div class="carousel-caption">--%>
<%--                <h3>角色管理</h3>--%>
<%--            </div>--%>
<%--        </div>--%>
<%--        <div class="item">--%>
<%--            <a href="${ctx}/role/findAll">--%>
<%--                <img  style="width: 100%;height: 100%"  src="${static_ctx}/images/index05.jpg" alt="角色管理">--%>
<%--            </a>--%>
<%--            <div class="carousel-caption">--%>
<%--                <h3>角色管理</h3>--%>
<%--            </div>--%>
<%--        </div>--%>
<%--        <div class="item">--%>
<%--            <a href="${ctx}/role/findAll">--%>
<%--                <img  style="width: 100%;height: 100%"  src="${static_ctx}/images/index06.jpg" alt="角色管理">--%>
<%--            </a>--%>
<%--            <div class="carousel-caption">--%>
<%--                <h3>角色管理</h3>--%>
<%--            </div>--%>
<%--        </div>--%>
    </div>

    <!-- Controls -->
    <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
    </a>
    <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
    </a>
</div>
</body>
</html>
